#!/bin/bash

JAVA=`which java`
PROPERTY=config.properties

PROGRAM=AltitudeLogParser.jar

if [ ! -f "$PROGRAM" ] ; then
 echo "File $PROGRAM not found in directory."
 exit 1
fi

$JAVA -jar AltitudeLogParser.jar $PROPERTY